package com.chixing.util.redis;

/**
 * @author 马博
 * * @date 2021/11/3
 */
public enum LikedStatusEnum {
    LIKE(0, "点赞"),
    UNLIKE(1, "取消点赞/未点赞"),
    ;

    private Integer code;

    private String msg;

    LikedStatusEnum(Integer code, String msg) {

        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        System.out.println(code);
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
